﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Transport.Core.Models.Customers;

namespace Transport.Core.Models.Parcels
{
    public class ParcelCustomerReportModel
    {
        public int No { get; set; }
        public string TrackingNumbers { get; set; }
        public DateTime DateOfSending { get; set; }
        public string DateOfSendingDisplay { get { return String.Format("{0:dd/MM/yyyy}", DateOfSending); } }
        public string DeliverTo { get; set; }
        public int Weight { get; set; }
        public string WeightDisplay { get { return String.Format("{0:0,0}", Weight); } }
        public decimal Cost { get; set; }
        public string CostDisplay { get { return String.Format("{0:0,0}", Cost); } }
        public string TotalCostDisplay { get { return String.Format("{0:0,0}", Cost + Cost / 10); } }
        public string Vat { get { return String.Format("{0:0,0}", Cost / 10); } }
        public List<Customer> Customers { get; set; }
        public int? CustomerId { get; set; }
        public DateTime FromDate { get; set; }
        public DateTime ToDate { get; set; }
        public int PaymentType { get; set; }
        public bool Collected { get; set; }
        public string Note { get; set; }
    }
}
